package Model.Entity;


import java.util.Date;

public class Commodity   {
    private Long id;
    private String name;
    private Double realprice;
    private String local;
    private Double sellprice;
    private String description;
    private Long activityid;//正在参与的活动id
    private String category;
    private Integer stock;
    private Date joindate;

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getStock() {
        return stock;
    }
    public void setCategory(String category) {
        this.category = category;
    }

    public void setJoindate(Date joindate) {
        this.joindate = joindate;
    }

    public String getCategory() {
        return category;
    }

    public Date getJoindate() {
        return joindate;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {

        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setRealprice(Double realprice) {
        this.realprice = realprice;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    public void setSellprice(Double sellprice) {
        this.sellprice = sellprice;
    }

    public void setDescription(String description) {
        this.description = description;
    }



    public void setActivityid(Long activityid) {
        this.activityid = activityid;
    }

    public String getName() {

        return name;
    }

    public Double getRealprice() {
        return realprice;
    }

    public String getLocal() {
        return local;
    }

    public Double getSellprice() {
        return sellprice;
    }

    public String getDescription() {
        return description;
    }


    public Long getActivityid() {
        return activityid;
    }


}
